package com.weipai.springboot.module.dao;

import com.weipai.springboot.model.InventoryIn;
import com.weipai.springboot.model.InventoryOut;

import java.util.List;
import java.util.Map;

/**
 * @author songmengqiang
 * @create 2018-08-24 11:38
 **/

public interface InventoryDetailDao {

    List<Map<String, Object>> listInDetail(String categoryId, Integer start, Integer size, String search);

    List<Map<String, Object>> listOutDetail(String categoryId, Integer start, Integer size, String search);

    int outStorage(InventoryOut inventoryOut);

    int countIn(String categoryId, String search);

    int countOut(String categoryId, String search);

    int inStorage(InventoryIn inventoryIn);
}
